<?php



namespace App\Services\Member\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class   UserInviteBalanceRecord extends Model
{
    use SoftDeletes, HasFactory;

    //邀请奖励
    const TYPE_DEFAULT = 0;
    //订单抽成
    const TYPE_ORDER_DRAW = 1;
    //订单提现
    const TYPE_ORDER_WITHDRAW = 2;
    //提现退还
    const TYPE_ORDER_WITHDRAW_BACK = 3;

    protected $table = 'user_invite_balance_records';

    protected $fillable = [
        'user_id', 'type', 'total', 'desc','is_income','company_id'
    ];
}
